Carbon


GetWindowProxyAlias

Header: MacWindows.h Carbon status: Supported

Obtains an alias for the file that is associated with a window.

OSStatus GetWindowProxyAlias (
    WindowRef window, 
    AliasHandle *alias
);
window

A pointer to the window for which you wish to determine the associated file.

alias

On input, a pointer to a value of type AliasHandle. On return, the AliasRecord structure referenced by the alias handle contains a copy of the alias data for the file associated with the specified window. Your application must dispose of this handle.

function result

A result code.

DISCUSSION

Your application can call the GetWindowProxyAlias function to retrieve alias data for the file associated with a window.

See also the function SetWindowProxyAlias.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when WindowsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by WindowsLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)